package com.gibs.peixunapi.service;

import com.gibs.peixunapi.VO.CourseInfoVO;
import com.gibs.peixunapi.result.Result;

import javax.validation.Valid;

import com.gibs.peixunapi.model.Course;

/**
 * @author liangjiawei
 * @date 2020/09/01/17:29
 * @Version 1.0
 * @Description: 课程信息服务层
 */
public interface CourseService {


	/**
	 * 保存前端传来的课程基本信息
	 * @param courseInfoVO 课程VO类
	 * @return 执行结果
	 */
    Result create(CourseInfoVO courseInfoVO);

    Result save(@Valid Course object);

    Result delete(Integer id);

    Result get(Integer id);

    Result getList(String key);

    Result getListPage(String key, Integer current, Integer limit);

    Result getOptions(String key);


}

